import request from '@/axios/axios.js'

// 查询
export const searchApi = (params) => {
  return request({
    method: 'post',
    url: '/dms/productionWork/queryProductionWorkCheckList',
    data: params
  })
};

// 导出
export const exportList = (params) => {
  return request({
    method: 'post',
    url: '/dms/productionWork/productionWorkCheck/export',
    responseType: 'blob',
    data: params
  })
};

// 自检报废接口
export const searchHistory = (params) => {
  return request({
    method: 'post',
    url: '/dms/mobile/selectCheckSelfHistory',
    data: params
  })
};

// 不良信息列表
export const queryWorkSelfCheck = (params) => {
  return request({
    method: 'post',
    url: '/dms/mobile/queryWorkSelfCheck',
    data: params
  })
};


